package xyz.scootaloo.oj.ds;

/**
 * 二叉树节点
 * @author flutterdash@qq.com
 * @since 2021/3/25 23:15
 */
public class TreeNode {

    public int val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode(int x) {
        val = x;
    }

    @Override
    public String toString() {
        return "TreeNode{" +
                "val=" + val +
                '}';
    }
}
